<p>
  <b>Defect:</b>
  <%= h @bug.defect_id %>
</p>

<p>
  <b>Type:</b>
  <%= h @bug.defect_type %>
</p>

<p>
  <b>Priority:</b>
  <%= h @bug.priority %>
</p>

<p>
  <b>Summary:</b>
  <%= h @bug.summary %>
</p>

<p>
  <b>Developer:</b>
  <%= h @bug.developer.nickname if @bug.developer %>
</p>

<p>
  <b>Status:</b>
  <%= h @bug.status %>
</p>

<p>
  <b>Planned completion date:</b>
  <%= h @bug.planned_completion_date && @bug.planned_completion_date.strftime("%d %b %Y (%A)") %>
</p>

<%= link_to 'Edit', edit_bug_path(@bug) %> |
<%= link_to 'Back', bugs_path %>